package com.cn.crmsystem.service.approveService;

import com.cn.crmsystem.pojo.Leave;
import com.cn.crmsystem.pojo.ResultJson;

public interface LeaveService {
	//查询领导名
	ResultJson selectLeader(Integer userid);
	//插入
	ResultJson LeaveInsert (Leave travel, Integer leader);
	//查询请假列表
	ResultJson SelectMyLeave(Integer userid,String method);
	//删除
	ResultJson DeleteLeave(Integer appid);
	//更新
	ResultJson UpdateLeave(Integer appid,Integer state);
	//条件查询
	ResultJson SelectConditionLeave(Integer userid,String method,String state);
}
